
package org.springblade.modules.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.app.entity.Fankui;
import org.springblade.modules.app.mapper.FankuiMapper;
import org.springblade.modules.app.service.IFankuiService;
import org.springframework.stereotype.Service;

/**
 * 意见反馈 服务实现类
 *
 * @author BladeX
 * @since 2020-08-18
 */
@Service
public class FankuiServiceImpl extends ServiceImpl<FankuiMapper, Fankui> implements IFankuiService {

    @Override
    public IPage<Fankui> selectFankuiPage(IPage<Fankui> page, Fankui fankui) {
        /* return page.setRecords(baseMapper.selectFankuiPage(page, fankui));*/
        LambdaQueryWrapper<Fankui> queryWrapper = new LambdaQueryWrapper<Fankui>();
        IPage<Fankui> result = baseMapper.selectPage(page, queryWrapper);
        return result;
    }

}
